package cn.net.cfss.fgbp.provider.console.spi;

import cn.net.cfss.fgbp.api.console.inte.ISysRoleProjectService;
import cn.net.cfss.fgbp.provider.console.biz.SysRoleProjectDtoBiz;
import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RestController;

import java.util.List;

/**
 * @author tj
 * @title: SysRoleProjectServiceImpl
 * @description: TODO
 */
@RestController
@Slf4j
public class SysRoleProjectSpi implements ISysRoleProjectService {

    @Autowired
    SysRoleProjectDtoBiz roleProjectDtoBiz;

    @Override
    public List<String> queryByProjectId( List<Long> roleIds) {
        return roleProjectDtoBiz.getProjects(roleIds);
    }
}
